<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>DropzoneJS</title>

    <script src="./global.js"></script>

    <script src="./lib/jquery.min.js"></script>
    <link type="text/css" rel="stylesheet" href="./lib/dropzone/dist/basic.min.css">
    <link type="text/css" rel="stylesheet" href="./lib/dropzone/dist/dropzone.min.css">
    <script type="text/javascript" src="./lib/dropzone/dist/dropzone.js"></script>
    <style type="text/css">
        .dropzone {
            border: 2px dashed #0087F7;
            border-radius: 5px;
            background: white;
        }
    </style>
</head>

<body>
<form action=""  class="dropzone needsclick dz-clickable" id="demo-upload">
    <div class="dz-message needsclick">
        Drop files here or click to upload.<br>
        <span class="note needsclick">...</span>
    </div>
</form>


</body>
</html>

<script>

    
    $('#demo-upload').attr('action', `${config.remoteUrl}/files/new-upload`);
  
  
  </script>